package com.wing.order.dao;

import com.wing.order.model.response.EnterpriseVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface DynamicDao {

    Integer getMaxNo(@Param("tableName")String tableName);

    Integer getDayMaxNo(@Param("tableName")String tableName);

    String getEnterpriseId();
    String getEnterpriseName();
    String getEnterpriseCode();
    EnterpriseVO getEnterprise();

    String getDayMaxCode(@Param("code") String code, @Param("tableName") String tableName);

    String getMaxCode(@Param("code") String code, @Param("tableName") String tableName);

}
